FROM guojijifang:latest

ENV TZ="Asia/Shanghai"
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8

COPY ./data /data

WORKDIR /data

EXPOSE 13000 6379 5432

RUN chmod +x /data/start.sh

CMD ["sh", "-c", "/data/start.sh && tail -f /dev/null"]